package com.smforj.ssm.mina.util;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

import com.smforj.ssm.mina.service.WorkThreadFactory;

/**
 * 线程池
 * @desp
 * @author ghj
 * @date 2016-3-12 下午5:32:15
 */
public class ThreadPool {

	  //创建线程（并发）池，自动伸缩(自动条件线程池大小)
    public static ExecutorService es =  Executors.newCachedThreadPool(new WorkThreadFactory());
}
